package net.zjitc.mapper;

import net.zjitc.pojo.Customer;
import net.zjitc.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author admin
 * @Date 2019/3/13 10:24
 */
public interface UserMapper {
    User findById(int id);
    List<Customer> findCustomerAll();
    Customer findByUsernameAndPassword(@Param(value = "n")String name,@Param(value = "p")String pass);
    List<Customer> search(@Param(value = "s")String sex,@Param(value = "n")String name);
}
